<?php namespace App\Http\Controllers;

use App\AdminGl;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;


class DbController extends Controller {

    public function index()
    {
        $article = AdminGl::find(4780);

        echo $article->id;


        $records = DB::table('admin_gl')->paginate(15);
        return view('db.index', ['records' => $records]);
    }
}